<template>
  <div>
    1213
  </div>
</template>
<script setup lang="ts">
//ts 导入和导出
// import type {MyType} from './model/myModule'
// const obj: MyType = { name: 'example' };
// console.log(obj);


import { myValue, type Cat, type Dog } from "./model/myModule";
console.log(myValue);

const cat: Cat = { name: "cat" };
const dog: Dog = { age: 10 };
console.log(cat, dog);


</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
